<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 4.2.1">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"yoursite.com","root":"/","scheme":"Muse","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}};
  </script>

  <meta name="description" content="简单介绍Markdown是一种轻量级标记语言，它允许人们使用易读易写的纯文本格式编写文档。Markdown 语言在 2004 由约翰·格鲁伯（英语：John Gruber）创建。Markdown 编写的文档可以导出 HTML 、Word、图像、PDF、Epub 等多种格式的文档。Markdown 编写的文档后缀为 .md, .markdown。 应用当前许多网站都广泛使用 Markdown 来撰写">
<meta property="og:type" content="article">
<meta property="og:title" content="Markdown 教程(一）">
<meta property="og:url" content="http://yoursite.com/2020/06/09/markdown-01/index.html">
<meta property="og:site_name" content="Zhimin">
<meta property="og:description" content="简单介绍Markdown是一种轻量级标记语言，它允许人们使用易读易写的纯文本格式编写文档。Markdown 语言在 2004 由约翰·格鲁伯（英语：John Gruber）创建。Markdown 编写的文档可以导出 HTML 、Word、图像、PDF、Epub 等多种格式的文档。Markdown 编写的文档后缀为 .md, .markdown。 应用当前许多网站都广泛使用 Markdown 来撰写">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="https://i.loli.net/2020/06/09/UZhnBxbaEFR1MkX.png">
<meta property="og:image" content="https://i.loli.net/2020/06/09/Y3vE5BfsNlVLjri.png">
<meta property="og:image" content="https://i.loli.net/2020/06/09/UZfVSsPERWzNabv.png">
<meta property="og:image" content="https://i.loli.net/2020/06/09/TJyP6GFQtYUVczo.png">
<meta property="og:image" content="https://i.loli.net/2020/06/09/ecudzrg7EMiCwRI.png">
<meta property="og:image" content="https://i.loli.net/2020/06/09/EuDv2OJMnqeNwYi.png">
<meta property="og:image" content="https://i.loli.net/2020/06/09/Biv9KfzIbG2LZRM.png">
<meta property="og:image" content="https://i.loli.net/2020/06/09/n3isYlhjvWC1QHa.png">
<meta property="og:image" content="https://i.loli.net/2020/06/09/QzufCvaS3ZybB9d.png">
<meta property="og:image" content="https://i.loli.net/2020/06/09/Uy9qFksTXW3NGdh.png">
<meta property="og:image" content="https://i.loli.net/2020/06/09/RN36wiCfs2cZDWT.png">
<meta property="og:image" content="https://i.loli.net/2020/06/09/1RfGPYzIdjVi4T7.png">
<meta property="article:published_time" content="2020-06-09T15:27:15.000Z">
<meta property="article:modified_time" content="2020-06-17T08:13:48.595Z">
<meta property="article:author" content="ZHIMIN TU">
<meta property="article:tag" content="Markdown">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://i.loli.net/2020/06/09/UZhnBxbaEFR1MkX.png">

<link rel="canonical" href="http://yoursite.com/2020/06/09/markdown-01/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'en'
  };
</script>

  <title>Markdown 教程(一） | Zhimin</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="Toggle navigation bar">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">Zhimin</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>Home</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>Archives</a>

  </li>
  </ul>
</nav>




</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="en">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/06/09/markdown-01/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="ZHIMIN TU">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Zhimin">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          Markdown 教程(一）
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>

              <time title="Created: 2020-06-09 23:27:15" itemprop="dateCreated datePublished" datetime="2020-06-09T23:27:15+08:00">2020-06-09</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">Edited on</span>
                <time title="Modified: 2020-06-17 16:13:48" itemprop="dateModified" datetime="2020-06-17T16:13:48+08:00">2020-06-17</time>
              </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <h1 id="简单介绍"><a href="#简单介绍" class="headerlink" title="简单介绍"></a>简单介绍</h1><p>Markdown是一种轻量级标记语言，它允许人们使用易读易写的纯文本格式编写文档。<br>Markdown 语言在 2004 由约翰·格鲁伯（英语：John Gruber）创建。<br>Markdown 编写的文档可以导出 HTML 、Word、图像、PDF、Epub 等多种格式的文档。<br>Markdown 编写的文档后缀为 .md, .markdown。</p>
<h1 id="应用"><a href="#应用" class="headerlink" title="应用"></a>应用</h1><p>当前许多网站都广泛使用 Markdown 来撰写帮助文档或是用于论坛上发表消息。例如：GitHub、简书、reddit、Diaspora、Stack Exchange、OpenStreetMap 、SourceForge等。</p>
<h1 id="标题"><a href="#标题" class="headerlink" title="标题"></a>标题</h1><p>markdown标题有两种格式。</p>
<h2 id="1、使用-和-标记一级和二级标题"><a href="#1、使用-和-标记一级和二级标题" class="headerlink" title="1、使用 = 和 - 标记一级和二级标题"></a>1、使用 = 和 - 标记一级和二级标题</h2><p>本教程将使用简书的md编辑器来讲解 Markdown 的语法，当然你们也可以使用其他软件代替，比如 <a href="https://www.typora.io/" target="_blank" rel="noopener">Typora</a>编辑器</p>
<p><img src="https://i.loli.net/2020/06/09/UZhnBxbaEFR1MkX.png" alt="简书编辑1.png"><br><img src="https://i.loli.net/2020/06/09/Y3vE5BfsNlVLjri.png" alt="简书预览1.png"></p>
<h2 id="2、使用-号标记"><a href="#2、使用-号标记" class="headerlink" title="2、使用 # 号标记"></a>2、使用 # 号标记</h2><p>使用 # 号可表示 1-6 级标题，一级标题对应一个 # 号，二级标题对应两个 # 号，以此类推。</p>
<p><img src="https://i.loli.net/2020/06/09/UZfVSsPERWzNabv.png" alt="简书编辑2.png"><br><img src="https://i.loli.net/2020/06/09/TJyP6GFQtYUVczo.png" alt="简书预览2.png"></p>
<h1 id="段落"><a href="#段落" class="headerlink" title="段落"></a>段落</h1><p>段落没有特殊格式，直接编写文本即可。<br><strong>段落的换行是使用2个以上空格加上enter键</strong><br>当然也可以在段落后面使用一个空行来表示重新开始一个段落。</p>
<h2 id="1、字体"><a href="#1、字体" class="headerlink" title="1、字体"></a>1、字体</h2><p>Markdown 可以使用以下几种字体：<br><img src="https://i.loli.net/2020/06/09/ecudzrg7EMiCwRI.png" alt="简书编辑3"><br><img src="https://i.loli.net/2020/06/09/EuDv2OJMnqeNwYi.png" alt="简书预览3"></p>
<h2 id="2、分割线"><a href="#2、分割线" class="headerlink" title="2、分割线"></a>2、分割线</h2><p>你可以在一行中用三个以上的星号、减号、底线来建立一个分隔线，行内不能有其他东西。你也可以在星号、减号、底线中间插入空格。下面每种写法都可以建立分隔线：</p>
<p><img src="https://i.loli.net/2020/06/09/Biv9KfzIbG2LZRM.png" alt="简书编辑4"><br><img src="https://i.loli.net/2020/06/09/n3isYlhjvWC1QHa.png" alt="简书预览4"></p>
<h2 id="3、删除线"><a href="#3、删除线" class="headerlink" title="3、删除线"></a>3、删除线</h2><p>段落上的文字要添加删除线，只需要在文字的两端加上两个波浪线 ~~ 即可<br><img src="https://i.loli.net/2020/06/09/QzufCvaS3ZybB9d.png" alt="简书编辑5"><br><img src="https://i.loli.net/2020/06/09/Uy9qFksTXW3NGdh.png" alt="简书预览5"></p>
<h2 id="4、下划线"><a href="#4、下划线" class="headerlink" title="4、下划线"></a>4、下划线</h2><p>下划线可以通过 HTML 的 <u> 标签来实现：（简书编辑器预览效果中无法实现，这里用<a href="https://www.typora.io/" target="_blank" rel="noopener">Typora</a>编辑器演示一下）</p>
<p><u>需要带下划线的文本</u><br><img src="https://i.loli.net/2020/06/09/RN36wiCfs2cZDWT.png" alt="Typora编辑器示例" style="zoom:50%;" /></p>
<h2 id="5、脚注"><a href="#5、脚注" class="headerlink" title="5、脚注"></a>5、脚注</h2><p>脚注是对文本的补充说明。<br>格式如下：<br><img src="https://i.loli.net/2020/06/09/1RfGPYzIdjVi4T7.png" alt="Typora编辑器示例"></p>
<p>未完待续，有空更新~</p>

    </div>

    
    
    

      <footer class="post-footer">
          <div class="post-tags">
              <a href="/tags/Markdown/" rel="tag"># Markdown</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/2020/06/07/trucksim_s_function/" rel="prev" title="TruckSim8.1与Matlab2018a联合仿真找不到TruckSim S-Function的解决办法">
      <i class="fa fa-chevron-left"></i> TruckSim8.1与Matlab2018a联合仿真找不到TruckSim S-Function的解决办法
    </a></div>
      <div class="post-nav-item">
    <a href="/2020/06/09/moon-sun/" rel="next" title="太阳和月亮">
      太阳和月亮 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          Table of Contents
        </li>
        <li class="sidebar-nav-overview">
          Overview
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#简单介绍"><span class="nav-number">1.</span> <span class="nav-text">简单介绍</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#应用"><span class="nav-number">2.</span> <span class="nav-text">应用</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#标题"><span class="nav-number">3.</span> <span class="nav-text">标题</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#1、使用-和-标记一级和二级标题"><span class="nav-number">3.1.</span> <span class="nav-text">1、使用 &#x3D; 和 - 标记一级和二级标题</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2、使用-号标记"><span class="nav-number">3.2.</span> <span class="nav-text">2、使用 # 号标记</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#段落"><span class="nav-number">4.</span> <span class="nav-text">段落</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#1、字体"><span class="nav-number">4.1.</span> <span class="nav-text">1、字体</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2、分割线"><span class="nav-number">4.2.</span> <span class="nav-text">2、分割线</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#3、删除线"><span class="nav-number">4.3.</span> <span class="nav-text">3、删除线</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#4、下划线"><span class="nav-number">4.4.</span> <span class="nav-text">4、下划线</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#5、脚注"><span class="nav-number">4.5.</span> <span class="nav-text">5、脚注</span></a></li></ol></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">ZHIMIN TU</p>
  <div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">9</span>
          <span class="site-state-item-name">posts</span>
        </a>
      </div>
      <div class="site-state-item site-state-tags">
        <span class="site-state-item-count">7</span>
        <span class="site-state-item-name">tags</span>
      </div>
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">ZHIMIN TU</span>
</div>
  <div class="powered-by">Powered by <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://muse.theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Muse</a>
  </div>

        








      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/muse.js"></script>


<script src="/js/next-boot.js"></script>




  















  

  

</body>
</html>
